﻿using DadayunApi.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DadayunSync.Model
{
    public class BaoxiaoReport
    {
        public  List<BxResult> Results { get; set; }
    }
    /// <summary>
    /// 通过指定[JsonProperty(PropertyName = "F0")]修饰来对应查询报表数据时返回的FielName字段
    /// 用于JsonConvert反序列化到对象
    /// </summary>
    public class BxResult
    {
        public int RowNum { get; set; }
        [JsonProperty(PropertyName = "F0")]
        public string BxDanhao { get; set; }
        [JsonProperty(PropertyName = "F1")]
        public string RegDate { get; set; }
        [JsonProperty(PropertyName = "F2")]
        public string Baoxiaoren { get; set; }
        [JsonProperty(PropertyName = "F3")]
        public string Bumen { get; set; }
        [JsonProperty(PropertyName = "F4")]
        public string BaoxiaoXiangmu { get; set; }
        [JsonProperty(PropertyName = "F5")]
        public string BaoxiaoAmount { get; set; }
        [JsonProperty(PropertyName = "F6")]
        public string PiaojuQty { get; set; }
        [JsonProperty(PropertyName = "F7")]
        public string Note { get; set; }

        public ReportDataObject DataObjs { get; set; }

    }
}
